package com.etone.smartAudit.vo.task;

import com.etone.smartAudit.vo.FileVO;
import com.etone.smartAudit.vo.tool.ToolBaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/7/29
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "ToolWorkTaskVO", description = "工具中台任务")
public class ToolWorkTaskVO extends BaseTaskVO implements Serializable {

    @ApiModelProperty("任务内容")
    @NotEmpty
    private String content;

    @ApiModelProperty("附件")
    private List<FileVO> files;

    @ApiModelProperty("涉及工具")
    private List<ToolBaseVO> tools;
}
